public class AlertLog : ILog
{
    public void Trace(string message)
    {
    }

    public void Trace(string message, params object[] args)
    {
    }

    public void Debug(string message)
    {
    }

    public void Debug(string message, params object[] args)
    {
    }

    public void Warn(string message)
    {
        message = string.Format("Warn: {0}", message);
        System.Diagnostics.Debug.Fail(message);
    }

    public void Warn(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        string OutputString = string.Format("{0}: {1}, ", "Warn", logMessage);
        System.Diagnostics.Debug.Fail(OutputString);
    }

    public void Error(string message)
    {
        message = string.Format("Error: {0}", message);
        System.Diagnostics.Debug.Fail(message);
    }

    public void Error(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        string OutputString = string.Format("{0}: {1}, ", "Error", logMessage);
        System.Diagnostics.Debug.Fail(OutputString);
    }
}
